package com.client.entity;

import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

@Getter
@Setter
//记录发送和接收的消息
public class MessageRecord {
    private int id;
    private String identification;
    private String ip;
    private int port;
    private String uid;     //会话标识符
    private String uuid;    //消息唯一标识符
    private int isSend;     //是否为该消息的发送方
    private String type;    //消息类型
    private Timestamp time; //消息接收或发送的时间
}
